package com.zlx.mall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableAsync
@EnableConfigurationProperties
@EnableTransactionManagement
@EnableRetry
@MapperScan(basePackages = {"com.zlx.**.mapper"})
@SpringBootApplication(scanBasePackages = "com.zlx.**")
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
